home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Complementary Applications 2004 February / SGI IRIX 6.5 Complementary Applications 2004 February.iso / dist / cde.idb / usr / dt / share / include / Xm / TearOffBP.h.z / TearOffBP.h
Encoding:
C/C++ Source or Header  |  2003-11-18  |  3.7 KB  |  132 lines

  1. /*
  2.  * TearOffBP.h
  3.  *
  4.  * Copyright 2000, Silicon Graphics, Inc.
  5.  * ALL RIGHTS RESERVED
  6.  * 
  7.  * UNPUBLISHED -- Rights reserved under the copyright laws of the United
  8.  * States.   Use of a copyright notice is precautionary only and does not
  9.  * imply publication or disclosure.
  10.  *
  11.  * U.S. GOVERNMENT RESTRICTED RIGHTS LEGEND:
  12.  * Use, duplication or disclosure by the Government is subject to restrictions
  13.  * as set forth in FAR 52.227.19(c)(2) or subparagraph (c)(1)(ii) of the Rights
  14.  * in Technical Data and Computer Software clause at DFARS 252.227-7013 and/or
  15.  * in similar or successor clauses in the FAR, or the DOD or NASA FAR
  16.  * Supplement.  Contractor/manufacturer is Silicon Graphics, Inc.,
  17.  * 2011 N. Shoreline Blvd. Mountain View, CA 94039-7311.
  18.  *
  19.  * THE CONTENT OF THIS WORK CONTAINS CONFIDENTIAL AND PROPRIETARY
  20.  * INFORMATION OF SILICON GRAPHICS, INC. ANY DUPLICATION, MODIFICATION,
  21.  * DISTRIBUTION, OR DISCLOSURE IN ANY FORM, IN WHOLE, OR IN PART, IS STRICTLY
  22.  * PROHIBITED WITHOUT THE PRIOR EXPRESS WRITTEN PERMISSION OF SILICON
  23.  * GRAPHICS, INC.
  24.  */
  25. /* 
  26.  * @OSF_COPYRIGHT@
  27.  * (c) Copyright 1990, 1991, 1992, 1993, 1994 OPEN SOFTWARE FOUNDATION, INC.
  28.  * ALL RIGHTS RESERVED
  29.  *  
  30. */ 
  31. /*
  32.  * HISTORY
  33.  * Motif Release 1.2.5
  34. */
  35. /*   $XConsortium: TearOffBP.h /main/cde1_maint/2 1995/08/18 19:24:27 drk $ */
  36. /*
  37. *  (c) Copyright 1989, DIGITAL EQUIPMENT CORPORATION, MAYNARD, MASS. */
  38. /*
  39. *  (c) Copyright 1987, 1988, 1989, 1990, 1991, 1992 HEWLETT-PACKARD COMPANY */
  40. /*
  41. *  (c) Copyright 1988 MASSACHUSETTS INSTITUTE OF TECHNOLOGY  */
  42. /*
  43.  *  TearOffBP.h - Private definitions for TearOffButton widget 
  44.  *  (Used by RowColumn Tear Off Menupanes)
  45.  *
  46.  */
  47.  
  48. #ifndef _XmTearOffBP_h
  49. #define _XmTearOffBP_h
  50.  
  51. #include <Xm/PushBP.h>
  52.  
  53. #ifdef __cplusplus
  54. extern "C" {
  55. #endif
  56.  
  57. /*****************************************************************************
  58.  *
  59.  * TearOffButton Widget Private Data
  60.  *
  61.  *****************************************************************************/
  62.  
  63. /* New fields for the TearOffButton widget class record */
  64. typedef struct _XmTearOffButtonClassPart
  65. {
  66.     String translations;
  67. } XmTearOffButtonClassPart;
  68.  
  69. /* Full Class record declaration */
  70. typedef struct _XmTearOffButtonClassRec {
  71.     CoreClassPart         core_class;
  72.     XmPrimitiveClassPart  primitive_class;
  73.     XmLabelClassPart      label_class;
  74.     XmPushButtonClassPart pushbutton_class;
  75.     XmTearOffButtonClassPart    tearoffbutton_class;
  76. } XmTearOffButtonClassRec;
  77.  
  78. typedef struct _XmTearOffButtonClassRec *XmTearOffButtonWidgetClass;
  79.  
  80. externalref XmTearOffButtonClassRec xmTearOffButtonClassRec;
  81.  
  82. /* New fields for the TearOffButton widget record */
  83. typedef struct {
  84.    Dimension      margin;
  85.    unsigned char  orientation;
  86.    unsigned char separator_type;
  87.    GC separator_GC;
  88. } XmTearOffButtonPart;
  89.  
  90. /*****************************************************************************
  91.  *
  92.  * Full instance record declaration
  93.  *
  94.  ****************************************************************************/
  95.  
  96. typedef struct _XmTearOffButtonRec {
  97.    CorePart         core;
  98.    XmPrimitivePart  primitive;
  99.    XmLabelPart      label;
  100.    XmPushButtonPart pushbutton;
  101.    XmTearOffButtonPart tear_off_button;
  102. } XmTearOffButtonRec;
  103.  
  104. typedef struct _XmTearOffButtonRec      *XmTearOffButtonWidget;
  105.  
  106. /* Class Record Constant */
  107.  
  108. externalref WidgetClass xmTearOffButtonWidgetClass;
  109.  
  110. #ifndef XmIsTearOffButton
  111. #define XmIsTearOffButton(w)    XtIsSubclass(w, xmTearOffButtonWidgetClass)
  112. #endif /* XmIsTearOffButton */
  113.  
  114.  
  115. /********    Private Function Declarations    ********/
  116. #ifdef _NO_PROTO
  117.  
  118.  
  119. #else
  120.  
  121.  
  122. #endif /* _NO_PROTO */
  123. /********    End Private Function Declarations    ********/
  124.  
  125.  
  126. #ifdef __cplusplus
  127. }  /* Close scope of 'extern "C"' declaration which encloses file. */
  128. #endif
  129.  
  130. #endif /* _XmTearOffButtonP_h */
  131. /* DON'T ADD ANYTHING AFTER THIS #endif */
  132.